<div class="ucenterRight">
    <div class="memberCover">
        <div class="memberTitle">
            <p>积分记录</p>
            <p>总积分：<span><?php echo isset($data['integral'])?$data['integral']:0 ?></span></p>
        </div>
        <div class="memberListTitle">
            <p>事件</p>
            <p>来源</p>
            <p>数量</p>
            <p>时间</p>
        </div>
        <?php if (!empty($data['details'])) { ?>
            <?php foreach ($data['details'] as $key => $value) { ?>
            <div class="memberListItem">
                <p><?php echo $value['behavior'] ?></p>
                <p><?php echo $value['source'] ?></p>
                <p><?php echo $value['type']==1?'+':'-' ?><?php echo $value['integral'] ?></p>
                <p><?php echo date('Y.m.d', $value['createTime']) ?></p>
            </div>
            <?php } ?>
        <?php } ?>
    </div>
    <div class="pageSize">
        <ul>
            <?php if ($data['count']) { ?>
                <?php for ($i=1; $i <= $data['total']; $i++) { ?>
                <a href="/member/<?php echo $i ?>.html" class="iPage <?php echo $i==$data['page']?'on':'' ?>"><?php echo $i ?></a>
                <?php } ?>
            <?php } ?>
        </ul>
    </div>
</div>
<!-- <script src="https://file.viplgw.cn/ui/thinku-ielts-new/js/ucenter/member.js"></script> -->